Skip to content

Conversation

@salaboy
Copy link
Collaborator

@salaboy salaboy commented Dec 4, 2024

Description

using ChildWorkflows instead of SubWorkflows to align with other SDKs and docs

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #1155

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@salaboy salaboy requested review from a team as code owners December 4, 2024 16:32
Copy link
Contributor

@cicoyle cicoyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename lgtm, I believe we will need to make note of this being a breaking change since it'll break users with ctx.callSubWorkflow since its now: ctx.callChildWorkflow. Otherwise, we should mark it as a deprecated alias and leave it for 2 releases then remove it. cc/ @artursouza for thoughts?

@salaboy
Copy link
Collaborator Author

salaboy commented Dec 4, 2024

@cicoyle I thought about that, but instead of doing that I would just add it in the release notes, for when people do upgrade they just replace the method name. Doing a full deprecation cycle for aligning with other SDKs seems an overkill

@artursouza artursouza merged commit 8b138da into dapr:master Dec 4, 2024
8 checks passed
@artursouza
Copy link
Contributor

workflows is alpha, so we can break it.

@cicoyle cicoyle added this to the v1.14 milestone Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Workflows] Rename callSubWorkflow to callChildWorkflow

3 participants